package org.water.sys.entity;
// Generated 2016-3-4 13:17:55 by Hibernate Tools 3.2.2.GA

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.water.base.entity.IdEntity;

/**
 * 
 * @author qzy
 *
 */
@Entity
@Table(name="sys_user_role")
public class SysUserRole extends IdEntity {


	/**
	 * 
	 */
	private static final long serialVersionUID = 6910436751463951482L;

	/** 
	 * 用户id.
	 */
	@Column(name="user_id")
	private String userId;

	/** 
	 * 角色id.
	 */
	@Column(name="role_id")
	private String roleId;

	/** 
	 * 设置用户与权限关联的用户id.
	 */
	@Column(name="auth_user_id")
	private String authUserId;

	public SysUserRole() {
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getAuthUserId() {
		return this.authUserId;
	}

	public void setAuthUserId(String authUserId) {
		this.authUserId = authUserId;
	}

}
